import DetailChild from './DetailChild.js'
import { MyComponent } from './my-component.js'

export const Detail = {
    props:['currentComp'],
    template:`
        <div>detail
            <DetailChild ref='child'></DetailChild>
            <MyComponent inline-template>
                <div>
                    00000
                </div>
            </MyComponent>
        </div>
    `,
    mounted(){
        console.log(this.$refs.child.title);
    },

    components:{
        DetailChild,
        MyComponent
    }
}